package com.silver.weibo.server;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.silver.weibo.entity.Collect;
import com.silver.weibo.entity.vo.CollectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectService extends IService<Collect> {

    public Collect selectByUserIdAndBlogID(Collect collection);

    public Boolean updateByCollect(Collect collect);

    //public List<CollectVO> selectMyCollectDetail(IPage<CollectVO>page, Integer userId);
    void selectMyCollectDetail(IPage<CollectVO>page, Integer userId);
}
